/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;
import model.Customer;

/**
 *
 * @author Student
 */
public interface CustomerDAO {
    public int save(Customer customer)throws Exception;
    public int update(Customer customer)throws Exception;
    public int delete(int id)throws Exception;
    public Customer getById(int id)throws Exception;
    public List<Customer> getAll()throws Exception;
}
